package cn.bqjr.eily.samples.constants;

public class SysConstant {
    public static final long DEFAULT_PARENT_MENU_ID = 0L;
    public static final long ADMIN_USER_ID = 1L; //超级管理员UserId
    public static final long ADMIN_ROLE_ID = 1L; //超级管理员RoleId

    public enum MenuType {
        /**
         * 目录
         */
        CATALOG(0),
        /**
         * 菜单
         */
        MENU(1),
        /**
         * 按钮
         */
        BUTTON(2);

        private int value;

        private MenuType(int value) {
            this.value = value;
        }

        public int getVal() {
            return value;
        }
    }
}
